package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description: TODO
 * @author: liuyang
 * @Createed Date: 2018/10/11-15:30
 * @ModificationHistory: Who  When  What
 * ---------     -------------   --------------------------------------
 **/
@RestController
@RequestMapping("test")
public class TestController {

    @GetMapping("getStr")
    public String getStr(String str) {
        return "hello:" + str;
    }
}
